package cn.zyy.hotel.dao;

import cn.zyy.hotel.entity.Orders;
import cn.zyy.hotel.vo.OrdersVO;

import java.util.List;

public interface OrdersMapper {

    //添加订单
    int addOrders(Orders orders);

    //查询订单列表
    List<Orders> selectOrdersList(OrdersVO ordersVO);

    //修改订单
    int updateOrders(Orders orders);

    //根据用户id查询订单
    List<Orders> selectOrdersListByUserId(Integer id);


}
